<?php
session_start();
// Jika nilai username dan password terdaftar
if (session_is_registered("username") and session_is_registered("password")) {
	// panggil file master
	include "master.php";
}
// jika gagal
else {
	include "login.php";
}
?>